<div class="row">
<div class="large-12 columns">

	<div class="panel callout"><h6>Discount Labels</h6></div>
	
	<div><a href="<?php echo site_url('student_fees/add_discount_label'); ?>" >Add Discount Label</a></div>
	
<?if(isset($system_message))echo $system_message;?>
<table class="table">
	<?if(!empty($discounts)):?>
		<tr>
			<th>Label</th>
			<th></th>
		</tr>
		<?foreach($discounts as $dis):?>
			<tr>
				<td><?=$dis->label;?></td>
				<td>
					<div class="btn-group">
						<a href="<?=site_url('student_fees/update_discount_label').'/'.$dis->id;?>" class="confirm btn btn-mini btn-success" title="Do you want to update discount label?"><i class="icon-g-edit"></i></a>
						<a href="<?=site_url('student_fees/delete_discount_label/'.__link(intval($dis->id)));?>" class="confirm btn btn-mini btn-danger" title="Are you sure you want to DELETE discount label?"><i class="icon-g-circle-remove"></i></a>
					</div>
				</td>
			</tr>
		<?endforeach;?>
	<?else:?>
			<tr>
				<td colspan="8">No Data Available</td>
			</tr>
	<?endif;?>
</table>
</div>
</div>